import request from '@/utils/request'

export async function getstoremain(params) {
  const res = await request({
    url: '/storemanager/getstoremain',
    method: 'post',
    params
  })

  return res
}


export async function setstate(params) {
  const res = await request({
    url: '/storemanager/setstate',
    method: 'post',
    params
  })

  return res
}

export async function getcoupontype(params) {
  const res = await request({
    url: '/storemanager/getcoupontype',
    method: 'post',
    params
  })
  return res
}

export async function editcoupontype(data) {
  const res = await request({
    url: '/storemanager/editcoupontype',
    method: 'post',
    data
  })
  return res
}
